package com.dwb.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * @author 懒猴子CG
 * @date 2020-06-28 18:52:20
 * @email 
 */
@Data
@ApiModel("订单地址")
public class SOrderAddress {

    @ApiModelProperty(value = "自增id")
    @Id
    private Integer id;

    @ApiModelProperty(value = "订单id")
    private Integer orderId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "收件地址id")
    private Integer addressId;

    @ApiModelProperty(value = "别名")
    private String alias;

    @ApiModelProperty(value = "收件人-姓名")
    private String name;

    @ApiModelProperty(value = "收件人-电话")
    private String tel;

    @ApiModelProperty(value = "收件人-省")
    private Integer province;

    @ApiModelProperty(value = "收件人-市")
    private Integer city;

    @ApiModelProperty(value = "收件人-县/区")
    private Integer county;

    @ApiModelProperty(value = "收件人-详细地址")
    private String address;

    @ApiModelProperty(value = "收件人-省-名称")
    private String provinceName;

    @ApiModelProperty(value = "收件人-市-名称")
    private String cityName;

    @ApiModelProperty(value = "收件人-县/区-名称")
    private String countyName;

    @ApiModelProperty(value = "收货地址-经度")
    private BigDecimal lng;

    @ApiModelProperty(value = "收货地址-维度")
    private BigDecimal lat;

    @ApiModelProperty(value = "添加时间")
    private Integer addTime;

    @ApiModelProperty(value = "更新时间")
    private Integer updTime;

}